rest parameters and spread operator